package so.ifl.dao;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.session.RowBounds;

import so.ifl.vo.RoleVo;

/**
 *create by aaron.lu
 *create at 2012-1-15 上午12:39:15
 *<mailto: atyuan.lu@gmail.com>
 **/
public interface RoleInfoDao {
	
	public List<RoleVo> queryRoleWithParamAndPagination(Map<String, Object> params, RowBounds rowBounds);
	
	public int countRoleWithParam(Map<String, Object> params);
	
	public void insertRole(RoleVo roleVo);
	
	public void deleteRole(Integer roleId);
	
	public List<Map<String, Object>> queryRole2Menu(Map<String, Object> params);
	
	public void insertRelationRole2Menu(Map<String, Object> params);
	
	public void deleteRelationRole2Menu(Integer relationId);

}
